﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 库存预警表
    /// </summary>
    public class InventoryAlerts
    {

        /// <summary>
        /// 库存预警表--主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int AlertID {  get; set; }
        /// <summary>
        /// 产品ID
        /// </summary>
        /// 
        [MaxLength(50)]
        public string ProductCode {  get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        /// 
        [MaxLength(50)]
        public string ProductName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        /// 
        [MaxLength(50)]
        public string Specification { get; set; }
        /// <summary>
        /// 仓库--外键
        /// </summary>
        public int WarehousesId { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 预警上限
        /// </summary>
        public int Alertcap { get; set; }
        /// <summary>
        /// 预警下限
        /// </summary>
        public int LowerAlertlimit { get; set; }
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }





    }
}
